package com.main.menuinterfacesmanagement.interfaces.dto;

import com.main.common.base.base.dto.BaseAddDTO;
import com.main.common.enums.Gender;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@Schema(description = "注册用户数据")
@EqualsAndHashCode(callSuper = true)
@Data
public class AddMenuDTO extends BaseAddDTO {

        @Schema(description = "名称")
        @NotNull(message = "{Client.NotBlank}")
        private String name;

        @Schema(description = "类型")
        @NotNull(message = "{Client.NotBlank}")
        private String typeCode;

        @Schema(description = "地址")
        private String path;

        @Schema(description = "父id")
        @NotNull(message = "{Client.NotBlank}")
        private String parentId;

}
